<template>
  <div>
    <div class="module">
      <div id="header">
        <span>欢迎您管理员</span>
        <span id="dateTime">当前时间是：{{ new Date() }}</span>
      </div>
    </div>
    <div class="module">
      <Divider orientation="left">数据统计</Divider>
      <Row>
        <Col span="6">
          <div class="data-item">
            <p class="data-item-num">5632</p>
            <p class="data-item-title">文章数</p>
          </div>
        </Col>
        <Col span="6">
          <div class="data-item">
            <p class="data-item-num">23</p>
            <p class="data-item-title">广告数</p>
          </div>
        </Col>
        <Col span="6">
          <div class="data-item">
            <p class="data-item-num">3131</p>
            <p class="data-item-title">当前用户</p>
          </div>
        </Col>
        <Col span="6">
          <div class="data-item">
            <p class="data-item-num">11</p>
            <p class="data-item-title">软件下载</p>
          </div>
        </Col>
      </Row>
    </div>
    <div class="module">
      <Divider orientation="left">外链展示</Divider>
      <Row>
        <Col span="8">
          
        </Col>
      </Row>
    </div>
  </div>
</template>
<script>
export default {
  name: "admin-index"
};
</script>
<style scoped>
.module {
  background-color: #fff;
  margin: 10px;
  padding: 5px;
  border-radius: 3px;
}
#header {
  height: 40px;
  line-height: 40px;
  font-size: 16px;
  margin: 10px;
  border-left: 5px solid #19be6b;
  padding: 0 10px;
}
#dateTime {
  margin-left: 40px;
}
.data-item {
  margin: 10px;
  padding: 10px 0;
  height: 100px;
  text-align: center;
  background-color: #f2f2f2;
}
.data-item-title {
  font-size: 20px;
  font-weight: bold;
  height: 40px;
  line-height: 40px;
  color: #808695;
}
.data-item-num {
  font-size: 18px;
  color: #ff9900;
  font-weight: bold;
  height: 40px;
  line-height: 40px;
}
</style>


